﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CodeLibrary.ApplicationHoster.Test.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body onload="OpenActiveX()">
    <script language="javascript">
        function OpenActiveX() {
            try {
                document.ApplicationHoster.Manifest = "D:\Program Files (x86)\Notepad++\Notepad++.exe";
            }
            catch (Err) {
                alert(Err.description);
            }
        }
    </script>
    <object id="ApplicationHoster" name="ApplicationHoster" 
                classid="clsid:B91FA855-CBD5-435C-B910-D494E007ADE3"
                viewastext/>
    <form id="form1" runat="server">
    <div>
        
    </div>
    </form>
</body>
</html>
